import 'package:flutter/material.dart';
import 'package:ost_flutter_module/common/adapt.dart';
import 'package:ost_flutter_module/common/color.dart';
import 'package:ost_flutter_module/common/utils.dart';
import 'package:ost_flutter_module/widget/custom_widget/custome_size_icon_button.dart';

class GShare extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return Column(
      crossAxisAlignment: CrossAxisAlignment.center,
      children: [
        SizedBox(height: Adapt.px(20)),
        Text('分享至', style: TextStyle(color: color303030, fontSize: 14)),
        SizedBox(height: Adapt.px(10)),
        ButtonBar(
          mainAxisSize: MainAxisSize.min,
          children: [
            GIconButton(
              svg: Utils.svgAssets('icon_wechat'),
              onPressed: () {},
            ),
            GIconButton(
              svg: Utils.svgAssets('icon_wechat_friends'),
              onPressed: () {},
            ),
          ],
        ),
      ],
    );
  }
}
